<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="Expires" CONTENT="-1">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<link rel="stylesheet" href="{:C('VSHOP_CSS')}person.css"/>
<script src="{:C('VSHOP_JS')}jquery-1.9.1.min.js"></script>
</head>
<body>
<header>
  <div class="head"><a href="#" class="head-return"></a>
    <h2 class="head-title">个人中心</h2>
  </div>
</header>
<div class="person-bg"> <span class="head-pic">
 <if condition="$result['headimgurl'] eq ''">
<img src="{:C('VSHOP_IMG')}img-other/head-pic-120x120.png">
<else/>
<img src="{$result.headimgurl}">
</if>
</span>

<if condition="$result['nickname'] eq '' ">
  <p>{$result['uname']}</p>
  <else/>
     <p>{$result['nickname']}</p>
  </if>
</div>

<div class="blank10-f5"></div>
<div class="person-items-box">
  <dl>
    <dd><a href="{:U('Order/index')}"><span class="ico-1"></span>
      <p>我的订单</p>
      <em class="more"></em></a></dd>
    
    <dd><a href="{:U('Address/index')}"><span class="ico-5"></span>
      <p>收货地址管理</p>
      <em class="more"></em></a></dd>
    <!-- <dd><a href=""><span class="ico-6"></span>
      <p>设置</p>
      <em class="more"></em></a></dd> -->
      <dd><span class="ico-5"></span>
      <p class="myqrcode">我的推广二维码</p>
      <em class="more"></em></dd>
  </dl>
</div>
<img src="http://qr.liantu.com/api.php?text=http://api.szl66.com/vshop.php?uid={$_SESSION['uid']}" id="qrcode" style='display:none;'>
<div class="blank40"></div>
<include file="Public:footer"/>
<script type="text/javascript" src="__PUBLIC__/common/js/layer/layer.js"></script>
<script type="text/javascript">
  $('.myqrcode').on('click',function(){
    layer.open({
    type: 1,
    title: false,
      area: ['300px', '325px'],
    closeBtn: 1,
    skin: 'layui-layer-nobg', //没有背景色
    content: $('#qrcode')
});
  })
</script>
</body>
</html>
